home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
INFO
/
USEFUL26.ZIP
/
USEHYP4.ZIP
/
FTP
< prev
next >
Wrap
Text File
|
1993-04-29
|
4KB
|
100 lines
ftp = file transfer protocol ...
Anonymous ftp ? ... a way of allowing you to sign on a computer on the
Internet and copy specific public files (softwares and various kind of
info) from it.
The following is a _typical_ ftp session (on a Unix machine) ...
Suppose you want to get unz50p1.exe and gsz1109.zip from oak.oakland.edu ...
$ ftp <enter>
ftp> open oak.oakland.edu <enter> or open 141.210.10.117 <enter>
Connected to oak.oakland.edu.
220 rigel.acs.oakland.edu FTP server (Version 2.0WU(11) Thu Apr 8 17:58:21 EDT 1
993) ready.
Name (oak.oakland.edu: your_login_name): anonymous <enter>
331 Guest login ok, send e-mail address as password.
Password: your e-mail address <enter>
230-
230- Welcome to
230- THE OAK SOFTWARE REPOSITORY
230- A service of Oakland University, Rochester Michigan
230-
230- Welcome, archive user! This is an experimental FTP server. If
230- you have any unusual problems, please report them via e-mail to
230- admin@vela.acs.oakland.edu. If you do have problems, please
230- try using a dash (-) as the first character of your password --
230- this will turn off the continuation messages that may be confusing
230- your ftp client. OAK is a Unix machine. Filenames are case sensitive.
230-
230-Please read the file README
230- it was last modified on Sun Aug 30 04:35:34 1992 - 41 days ago
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd pub/msdos/zip <enter>
250 CWD command successful.
ftp> ls
200 PORT command successful
... You should see a list of files in this subdirectory ...
ftp> get unz50p1.exe <enter>
local: unz50p1.exe remote: unz50p1.exe
200 PORT command successful.
150 Opening BINARY mode data connection for unz50p1.exe (40,062 bytes).
226 Transfer complete.
140116 bytes received in 2.56 seconds (15.64 Kbytes/s)
ftp> cd <enter> (or cd .. <enter>
(remote directory) ../zmodem <enter> cd zmodem <enter> )
250 CWD command successful.
ftp> get gsz1109.zip <enter>
local: gsz1109.zip remote: gsz1109.zip
200 PORT command successful.
150 Opening BINARY mode data connection for gsz1109.zip (112752 bytes).
226 Transfer complete.
112752 bytes received in 10.23 seconds (10.76 Kbytes/s)
ftp> bye <enter>
221 Goodbye
--
Command summary:
ftp - start a ftp session
open - connect to the named site
close - end the ftp session with a partiular site
bye - close all connection and exit ftp
ascii - transfer text (ascii) files
binary - transfer binary files
tenex - transfer binary files (for wsmr-simtel20.army.mil only)
cd - change directory of remote site
lcd - change directory of your site
get - get a file from the remote directory
put - move a file to the remote directory (if allowed)
mget - get mutiple files from the remote directory (mget *.*)
mput - move multiple files to the remote directory
del - delete a file in the remote directory (if allowed)
mdel - delete multiple files in the remote directory
ls - list files in the remote directory (or dir)
help - print help information
hash - print a pound sign (#) every time a block of data is transferred
bell - sound a bell after each file transfer
!cmd - execute a local command (e.g. !ls)
Alternative ways to do anonymous ftp ...
1) I've got UNIX shell scripts that can enable you auto-ftp MSDOS files
from any SIMTEL20 and Garbo mirror sites. If you want to get them, send me
an e-mail.
2) There are a couple of versatile programs that automate the ftp process ...
a) autoftp - oak: /pub/misc/unix/autoftp30.tar-z
- garbo: /unix/ftp/autoftp3.zoo
b) batchftp - oak: /pub/misc/unix/batchftp102.tar-z
- garbo: /unix/ftp/batchftp102.tar.Z (also batchftp.inf)
batchftp requires the Berkeley Unix system (e.g. a SUN) ...